﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SearchBank.aspx.cs" Inherits="Recon.Portal.WebUI.SearchBank" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>Search Bank</title>
    <link href="../css/Main.css" rel="stylesheet" type="text/css" />
    <link href="css/Site.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <div class="page">
        <form id="form1" runat="server">
            <div style="width: 60%">
                <table cellspacing="1" cellpadding="1" border="0" width="60%">
                    <tr>
                        <td align="right">Search on Bank Id:
                        </td>
                        <td>
                            <asp:TextBox ID="txtBankId" runat="server" Width="350px"></asp:TextBox>
                            &nbsp; &nbsp;
            <asp:Button ID="btnsearch" runat="server" OnClick="btnsearch_Click" Text="Search" TabIndex="1" /></td>
                    </tr>
                    <tr>
                        <td colspan="2">
                            <asp:Label ID="lblBankcnt" runat="server" Width="563px" CssClass="lable"></asp:Label></td>
                    </tr>
                    <tr>
                        <td align="center" colspan="2">
                            <div style="height: 380px; width: 600px; overflow: auto;">
                                <asp:GridView ID="gvBank" runat="server"
                                    OnSelectedIndexChanged="gvBank_SelectedIndexChanged" Width="100%" AutoGenerateColumns="False" TabIndex="2"
                                    HeaderStyle-BackColor="#222222" HeaderStyle-ForeColor="#6f788f" ForeColor="#333333" HeaderStyle-Font-Bold="false">
                                    <Columns>

                                        <asp:TemplateField HeaderText="Bank ID" ShowHeader="False">
                                            <ItemTemplate>
                                                <asp:LinkButton ID="lbtnBankid" runat="server" CausesValidation="False" CommandName="Select"
                                                    Text='<%# Eval("BankID") %>'></asp:LinkButton>
                                            </ItemTemplate>
                                        </asp:TemplateField>

                                        <asp:TemplateField HeaderText="Bank Name">
                                            <ItemTemplate>
                                                <asp:Label ID="lblBankName" runat="server" Text='<%# Eval("BankName") %>'></asp:Label>
                                            </ItemTemplate>
                                        </asp:TemplateField>

                                    </Columns>
                                    <HeaderStyle BackColor="silver" Font-Bold="false" ForeColor="#6f788f" />
                                </asp:GridView>
                            </div>
                        </td>
                    </tr>
                </table>
                <input id="control" runat="server" name="control" type="hidden" />
                <input id="path" runat="server" name="path" type="hidden" />
            </div>
        </form>
    </div>
</body>
</html>
